<?php
$this->breadcrumbs=array(
	Yii::t('labs', 'Labs')=>array('index'),
	Project::model()->getBrifeDescript($project),

);

?>

<hr class="clearfix" />
<div class="post single clearfix">
	<hr class="clearfix" />
    <h2><?php echo $project->pro_title; ?></h2>
	<ul class="post-meta">
		<li class="author">By <a href="./blog_post.html"><?php echo $project->user->user_name;?></a></li>
		<li class="date"><?php echo UtilTools::timeop($project->pro_created);?></li>
		<li class="tags"><?php echo Tag::model()->tagsToLinks($project->pro_tags, 'blog/tags');?></li>
		<li class="comments"><a href="./blog_post.html">有<?php //echo count($project->comment);?>条评论</a></li>
		<li class="modify"><?php echo UtilAuth::getAuthLinks('修改', array('update','id'=>$project->pro_id));?></li>
	</ul>
	<div class="post-entry">
		<blockquote>
			<p>摘要：<?php echo Project::model()->getBrifeDescript($project, 500);?>
		</blockquote>
	 
		<h3>解决方案</h3>

		<?php if(Yii::app()->user->hasFlash('success')): ?>

		<?php echo Yii::app()->user->getFlash('success'); ?>

		<?php else: ?>
			<?php echo $this->renderPartial('_sform', array('model'=>$model)); ?>
		<?php endif;?>

	</div> 
</div>
<!-- /Post -->
